(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <clib/graphics_protos.h>
WORD WeighTAMatch()
SYNOPSIS
struct TextAttr * reqTextAttr
struct TextAttr * targetTextAttr
struct TagItem * targetTags
LOCATION
In GfxBase at offset 134
FUNCTION
Determines how well two font descriptions match.
INPUTS
reqTextAttr
the required textattr.
targetTextAttr
textattr of potential match.
targetTags
tags for the targetTextAttr.
RESULT
A weight number for how to measure how well the TextAttrs match. The weight may vary from 0 (no match) to MAXFONTMATCHWEIGHT (perfect match).
NOTES
EXAMPLE
BUGS
Does not take tags into account yet.
SEE ALSO
INTERNALS
HISTORY
23.07.1997 nlorentz
Initial version